package scau.redi.social_platform.service;


import scau.redi.social_platform.common.util.ResponsePageUtil;
import scau.redi.social_platform.domain.pojo.Shared;
import scau.redi.social_platform.domain.pojo.SharedCollection;
import scau.redi.social_platform.domain.pojo.SharedLiked;
import scau.redi.social_platform.domain.vo.BriefSharedVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author redi
 * @since 2022-05-05
 */
public interface UserService {
    int collectShared(SharedCollection sharedCollection);

    int unCollectShared(Integer sharedId, Integer userId);

    int likeShared(SharedLiked sharedLiked);

    int unLikeShared(Integer sharedId, Integer userId);

    ResponsePageUtil<BriefSharedVO> getAllCollectShared(Integer userId, int page, int size);

    ResponsePageUtil<BriefSharedVO> getAllLikedShared(Integer userId, int page, int size);

    ResponsePageUtil<BriefSharedVO> getAllMyShared(Integer userId, int page, int size);

}
